
<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main2"/>
    <g:set var="entityName"
           value="${message(code: 'workflowInstanceUser.label', default: 'workflowInstanceUser')}"/>

    <title>新增工作流消息</title>
    <asset:stylesheet src="homer/vendor/codemirror/codemirror.css"/>

</head>

<body>

<div class="main-body">
    <div class="page-wrapper">
        <!-- Page-header start -->
        <div class="page-header">
            <div class="page-header-title">
                <h4>新增工作流消息</h4>
            </div>

            <div class="page-header-breadcrumb">
                <ul class="breadcrumb-title">
                    <li class="breadcrumb-item">
                        <a href="/salesDashboard/index">
                            <i class="icofont icofont-home"></i>
                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <g:link controller="workflowInstanceStage" action="show"
                                id="${this.workflowInstanceNotification?.stage?.id}">工作流阶段</g:link>
                    </li>
                    <li class="breadcrumb-item"><a href="#!">新增工作流消息</a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- Page-header end -->
        <!-- Page-body start -->
        <div class="page-body">

            <g:if test="${flash.message}">
                <div class="message alert alert-info" role="status">${flash.message}
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                            aria-hidden="true">×</span></button>
                </div>
            </g:if>
            <g:hasErrors bean="${this.workflowInstanceNotification}">
                <ul class="errors" role="alert">
                    <g:eachError bean="${this.workflowInstanceNotification}" var="error">
                        <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message
                                error="${error}"/></li>
                    </g:eachError>
                </ul>
            </g:hasErrors>
        <!-- Hover table card start -->
            <div class="card">
                <div class="card-header">
                    <h5>新增工作流消息</h5>

                    <div class="card-header-right">

                        <i class="icofont icofont-rounded-down"></i>
                    </div>
                </div>

                <div class="card-block">


                        <div class="form-group row">
                            <label class="col-md-3 control-label">用户</label>

                            <div class="col-md-4">
                                <span class="cont">${this.workflowInstanceNotification?.user?.fullName}</span>


                            </div>
                        </div>


                        <div class="form-group row">
                            <label class="col-md-3 control-label">消息模板</label>

                            <div class="col-md-4">
                                <span class="cont">${this.workflowInstanceNotification?.messageTemplate}</span>
                            </div>
                        </div>


                        <div class="form-group row">
                            <label class="col-md-3 control-label">推送主管</label>
                            <div class="col-md-4">
                                <span class="cont">${this.workflowInstanceEvent?.toManager}</span>
                            </div>
                        </div>


                        <div class="form-group row">
                            <label class="col-md-3 control-label">手机号</label>

                            <div class="col-md-6">
                                <span class="cont">${this.workflowInstanceNotification?.cellphone}</span>
                            </div>
                        </div>
                </div>
            </div>
            <!-- Hover table card end -->
        </div>

        <!-- Page-body end -->

    </div>
</div>
<asset:javascript src="homer/vendor/codemirror/codemirror.js"/>
%{-- <asset:javascript src="homer/vendor/codemirror/javascript.js"/> --}%


<script>
    $(document).ready(function () {
        var textarea1 = document.getElementById("code1");
        var editor1 = CodeMirror.fromTextArea(textarea1, {
            lineNumbers: false,
            matchBrackets: true,
            styleActiveLine: true
        });


    });
</script>
</body>

</html>






<!DOCTYPE html>
<html>
    <head>
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'workflowInstanceNotification.label', default: 'WorkflowInstanceNotification')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <a href="#show-workflowInstanceNotification" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
        <div class="nav" role="navigation">
            <ul>
                <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
                <li><g:link class="list" action="index"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
                <li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
            </ul>
        </div>
        <div id="show-workflowInstanceNotification" class="content scaffold-show" role="main">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message" role="status">${flash.message}</div>
            </g:if>
            <f:display bean="workflowInstanceNotification" />
            <g:form resource="${this.workflowInstanceNotification}" method="DELETE">
                <fieldset class="buttons">
                    <g:link class="edit" action="edit" resource="${this.workflowInstanceNotification}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
                    <input class="delete" type="submit" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
                </fieldset>
            </g:form>
        </div>
    </body>
</html>
